//用户注册信息
export interface userRegisterInfo{
    email:string
    username:string
    nickname:string
    password:string
}

//账号密码
export interface account{
    login:string
    password:string
}

//用户个人信息
export interface userInfo{
    nickname?:string
    sex?:number
    company?:string
    introduce?:string
    avatar?:string
}

//修改账户信息
export interface accountInfo{
    email?:string
    username?:string
    currentPassword:string
    password:string
    passwordConfirmation:string
}

//管理员登录参数
export interface adminLoginInfo{
    login:string
    password:string
}

//管理员查询用户列表参数
export interface admingetUser{
    email?:string
    username?:string
    nickname?:string
    role?:number
}

//管理员创建用户参数
export interface admincreateUserData{
    email:string
    username:string
    password:string
    nickname:string
    sex:number
    role:number
}

//管理员更新用户信息参数
export interface adminupdateUserdata{
    email?:string
    username?:string
    password?:string
    nickname?:string
    sex?:number
    company?:string
    introduce?:string
    role?:number
    avatar?:string
}